package cn.xianshu.mapper;

import cn.xianshu.domain.CourseType;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 课程目录 Mapper 接口
 * </p>
 *
 * @author Uncle Xian
 * @since 2021-11-26
 */
@Component
public interface CourseTypeMapper extends BaseMapper<CourseType> {
    // 树形数据
    List<CourseType> treeData(Long pid);
}
